<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>OpenLayers v8.2.0 API - Module: ol/Map</title>
    <script src="scripts/prettify/prettify.js"></script>
    <script src="scripts/prettify/lang-css.js"></script>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"
        crossorigin="anonymous"></script>
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/fontawesome.min.css"
        crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/solid.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/brands.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css" href="styles/prettify-tomorrow.css">
    <link rel="stylesheet" type="text/css" href="styles/jaguar.css">
    <link rel="stylesheet" type="text/css" href="styles/carbon.css">
    <link rel="stylesheet" type="text/css" href="/theme/ol.css">
    <link rel="stylesheet" type="text/css" href="/theme/site.css">
</head>

<body>
    <header class="navbar navbar-expand-sm navbar-dark mb-3 px-3 py-0 fixed-top" role="navigation">
        <a class="navbar-brand" href="/"><img src="/theme/img/logo-dark.svg" width="70" height="70"
                alt="">&nbsp;OpenLayers</a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#olmenu"
            aria-controls="olmenu" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>

        <!-- menu items that get hidden below 768px width -->
        <nav class="collapse navbar-collapse" id="olmenu">
            <ul class="nav navbar-nav ms-auto">
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="docdropdown" role="button"
                        data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Docs</a>
                    <div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="docdropdown">
                        <a class="dropdown-item" href="/doc/">Docs</a>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="/doc/quickstart.html"><i
                                class="fa fa-check fa-fw me-2 fa-lg"></i>快速入门</a>
                        <a class="dropdown-item" href="/doc/faq.html"><i
                                class="fa fa-question fa-fw me-2 fa-lg"></i>FAQ</a>
                        <a class="dropdown-item" href="/doc/tutorials/"><i
                                class="fa fa-book fa-fw me-2 fa-lg"></i>Tutorials</a>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="https://stackoverflow.com/questions/tagged/openlayers"><i
                                class="fab fa-stack-overflow fa-fw me-2"></i>Ask a Question</a>
                    </div>
                </li>
                <li class="nav-item"><a class="nav-link" href="/en/latest/examples/">Examples</a></li>
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="apidropdown" role="button"
                        data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        <i class="fa fa-sitemap me-1"></i>API
                    </a>
                    <div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
                        <a class="dropdown-item" href="/en/latest/apidoc/"><i
                                class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v8.2.0
                            (latest)</a </div>
                </li>
            </ul>
        </nav>
    </header>

    <div class="container-fluid">
        <div id="wrap" class="row">
            <div class="navigation col-md-4 col-lg-3">
                <div class="search-wrapper">
                    <div class="search">
                        <input id="search" type="text" autocomplete="off" class="form-control input-sm"
                            placeholder="Search Documentation">
                    </div>
                </div>
                <div class="navigation-list-wrapper">
                    <ul class="navigation-list search-empty">
                        <li class="item item-module toggle-manual toggle-manual-show" data-longname="module:ol/Map"
                            data-name="ol/map">
                            <span class="title toggle">
                                <span class="fa fa-plus me-2 mt-1"></span>
                                <span><a href="module-ol_Map.html">ol​/Map</a></span>
                            </span>
                            <div class="member-list" data-type="typedefs">
                                <span class="subtitle">Typedefs</span>
                                <ul>
                                    <li data-name="atpixeloptions"><a
                                            href="module-ol_Map.html#~AtPixelOptions">AtPixelOptions</a>
                                    <li data-name="framestate"><a href="module-ol_Map.html#~FrameState">FrameState</a>
                                    <li data-name="mapobjecteventtypes"><a
                                            href="module-ol_Map.html#~MapObjectEventTypes">MapObjectEventTypes</a>
                                    <li data-name="mapoptions"><a href="module-ol_Map.html#~MapOptions">MapOptions</a>
                                    <li data-name="mapoptionsinternal"><a
                                            href="module-ol_Map.html#~MapOptionsInternal">MapOptionsInternal</a>
                                    <li data-name="postrenderfunction"><a
                                            href="module-ol_Map.html#~PostRenderFunction">PostRenderFunction</a>
                                </ul>
                            </div>
                        <li class="loading">Loading …
                    </ul>
                </div>
            </div>

            <div class="main col-md-8 col-lg-9">
                <h1 class="page-title" data-filename="module-ol_Map.html">Module: ol/Map</h1>
                <div id="latest-check" class="alert alert-warning alert-dismissible" role="alert" style="display:none">
                    <button id="latest-dismiss" type="button" class="btn-close" data-bs-dismiss="alert"
                        aria-label="Close"></button>
                    This documentation is for OpenLayers v<span id="package-version">8.2.0</span>. The <a
                        id="latest-link" href="#" class="alert-link">latest</a> is v<span id="latest-version"></span>.
                </div>




                <section class="content">

                    <header>
                        <h2 class="my-3">ol/Map
                        </h2>
                        <br>


                        <!-- <div class="row p-3 ">
                        <div id="ad" class="col-lg-5 order-2 align-self-center border rounded bg-light ">
                                <script async type="text/javascript"
                                    src="https://cdn.carbonads.com/carbon.js?serve=CE7DV53U&placement=openlayersorg"
                                    id="_carbonads_js"></script>
                            </div>
            </div> -->
                    </header>

                    <article>
                        <div class="container-overview">
                            <dl class="details"> </dl>
                        </div>
                        <h3 class="subsection-title">Classes</h3>

                        <dl>
                            <dt><a href="module-ol_Map-Map.html">Map</a></dt>
                            <dd></dd>
                        </dl>
                        <h3 class="subsection-title">定义类型(Type Definitions)</h3>

                        <dl>

                            <dt class="">
                                <div class="nameContainer">
                                    <div class="anchor" id="~AtPixelOptions">
                                    </div>
                                    <h4 class="name">
                                        AtPixel选项(AtPixelOptions)<span
                                            class="type-signature type object">{Object}</span>


                                    </h4>
                                </div>

                            </dt>
                            <dd class="">



                                <dl class="details">


                                    <h5 class="subsection-title">Properties:</h5>

                                    <dl>

                                        <table class="props">
                                            <thead>
                                                <tr>

                                                    <th>Name</th>


                                                    <th>Type</th>

                                                    <th class="last">Description</th>
                                                </tr>
                                            </thead>

                                            <tbody>


                                                <tr>

                                                    <td class="name"><code>layerFilter</code></td>


                                                    <td class="type">


                                                        <span class="param-type">undefined</span>
                                                        |

                                                        <span class="param-type">function</span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>图层筛选函数。筛选函数将接收一个参数，即<a
                                                                href="module-ol_layer_Layer-Layer.html"><code>layer-candidate</code></a>对象，，并应返回一个布尔值。
                                                            只有可见且该函数返回<code>true</code>的图层才会进行要素测试。默认情况下，将测试所有可见图层。
                                                        </p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>hitTolerance</code></td>


                                                    <td class="type">


                                                        <span class="param-type">number</span>



                                                        <br>(defaults to 0)


                                                    </td>

                                                    <td class="description last">
                                                        <p>在CSS像素中的命中检测容差。在给定位置周围的半径内的像素将检查是否存在要素。</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>checkWrapped</code></td>


                                                    <td class="type">


                                                        <span class="param-type">boolean</span>



                                                        <br>(defaults to true)


                                                    </td>

                                                    <td class="description last">
                                                        <p>检查环绕将在±1世界宽度的范围内检查环绕几何体。仅在使用的投影可以被环绕时才有效。</p>

                                                    </td>
                                                </tr>


                                            </tbody>
                                        </table>
                                    </dl>






















                                </dl>



                            </dd>



                            <dt class="">
                                <div class="nameContainer">
                                    <div class="anchor" id="~FrameState">
                                    </div>
                                    <h4 class="name">
                                        帧状态(FrameState)<span class="type-signature type object">{Object}</span>


                                    </h4>
                                </div>

                            </dt>
                            <dd class="">

                                <div class="description">
                                    <p>当前帧的状态。在应用程序中只应使用 <code>pixelRatio</code>, <code>time</code> and
                                        <code>viewState</code> 。
                                    </p>
                                </div>



                                <dl class="details">


                                    <h5 class="subsection-title">Properties:</h5>

                                    <dl>

                                        <table class="props">
                                            <thead>
                                                <tr>

                                                    <th>Name</th>


                                                    <th>Type</th>

                                                    <th class="last">Description</th>
                                                </tr>
                                            </thead>

                                            <tbody>


                                                <tr>

                                                    <td class="name"><code>pixelRatio</code></td>


                                                    <td class="type">


                                                        <span class="param-type">number</span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>帧的像素比率。</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>time</code></td>


                                                    <td class="type">


                                                        <span class="param-type">number</span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>请求渲染帧的时间。</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>viewState</code></td>


                                                    <td class="type">


                                                        <span class="param-type"><a
                                                                href="module-ol_View.html#~State">State</a></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>当前视图的状态。</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>animate</code></td>


                                                    <td class="type">


                                                        <span class="param-type">boolean</span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>Animate.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>coordinateToPixelTransform</code></td>


                                                    <td class="type">


                                                        <span class="param-type"><a
                                                                href="module-ol_transform.html#~Transform">Transform</a></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>坐标到像素变换.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>declutterTree</code></td>


                                                    <td class="type">


                                                        <span class="param-type">module:rbush</span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>清理树.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>extent</code></td>


                                                    <td class="type">


                                                        <span class="param-type">null</span>
                                                        |

                                                        <span class="param-type"><a
                                                                href="module-ol_extent.html#~Extent">Extent</a></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>范围（在视图投影坐标中）。</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>nextExtent</code></td>


                                                    <td class="type">


                                                        <span class="param-type"><a
                                                                href="module-ol_extent.html#~Extent">Extent</a></span>

                                                        | undefined


                                                    </td>

                                                    <td class="description last">
                                                        <p>动画系列中的下一个范围。</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>index</code></td>


                                                    <td class="type">


                                                        <span class="param-type">number</span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>Index.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>layerStatesArray</code></td>


                                                    <td class="type">


                                                        <span class="param-type">Array&lt;<a
                                                                href="module-ol_layer_Layer.html#~State">State</a>></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>图层状态数组.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>layerIndex</code></td>


                                                    <td class="type">


                                                        <span class="param-type">number</span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>LayerIndex.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>pixelToCoordinateTransform</code></td>


                                                    <td class="type">


                                                        <span class="param-type"><a
                                                                href="module-ol_transform.html#~Transform">Transform</a></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>像素到坐标转换.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>postRenderFunctions</code></td>


                                                    <td class="type">


                                                        <span class="param-type">Array&lt;<a
                                                                href="module-ol_Map.html#~PostRenderFunction">PostRenderFunction</a>></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>后渲染函数.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>size</code></td>


                                                    <td class="type">


                                                        <span class="param-type"><a
                                                                href="module-ol_size.html#~Size">Size</a></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>Size.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>tileQueue</code></td>


                                                    <td class="type">


                                                        <span class="param-type">TileQueue</span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>瓦片队列.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>usedTiles</code></td>


                                                    <td class="type">


                                                        <span class="param-type">Object.&lt;string, Object.&lt;string,
                                                            boolean>></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>已使用的文件.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>viewHints</code></td>


                                                    <td class="type">


                                                        <span class="param-type">Array.&lt;number></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>查看提示.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>wantedTiles</code></td>


                                                    <td class="type">


                                                        <span class="param-type">Object.&lt;string, Object.&lt;string,
                                                            boolean>></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>需要的瓦片.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>mapId</code></td>


                                                    <td class="type">


                                                        <span class="param-type">string</span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>地图的id。</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>renderTargets</code></td>


                                                    <td class="type">


                                                        <span class="param-type">Object.&lt;string, boolean></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>先前渲染的元素的标识符。</p>

                                                    </td>
                                                </tr>


                                            </tbody>
                                        </table>
                                    </dl>






















                                </dl>



                            </dd>



                            <dt class="">
                                <div class="nameContainer">
                                    <div class="anchor" id="~MapObjectEventTypes">
                                    </div>
                                    <h4 class="name">
                                        地图对象事件类型(MapObjectEventTypes)<span
                                            class="type-signature type module:ol/objecteventtype~types">{<a
                                                href="module-ol_ObjectEventType.html#~Types">Types</a>}</span> <span
                                            class="type-signature type 'change:layergroup'">{'change:layergroup'}</span>
                                        <span class="type-signature type 'change:size'">{'change:size'}</span> <span
                                            class="type-signature type 'change:target'">{'change:target'}</span> <span
                                            class="type-signature type 'change:view'">{'change:view'}</span>


                                    </h4>
                                </div>

                            </dt>
                            <dd class="">



                                <dl class="details">





















                                </dl>



                            </dd>



                            <dt class="">
                                <div class="nameContainer">
                                    <div class="anchor" id="~MapOptions">
                                    </div>
                                    <h4 class="name">
                                        MapOptions<span class="type-signature type object">{Object}</span>


                                    </h4>
                                </div>

                            </dt>
                            <dd class="">

                                <div class="description">
                                    <p>带有地图配置选项的对象字面量。</p>
                                </div>



                                <dl class="details">


                                    <h5 class="subsection-title">Properties:</h5>

                                    <dl>

                                        <table class="props">
                                            <thead>
                                                <tr>

                                                    <th>Name</th>


                                                    <th>Type</th>

                                                    <th class="last">Description</th>
                                                </tr>
                                            </thead>

                                            <tbody>


                                                <tr>

                                                    <td class="name"><code>controls</code></td>


                                                    <td class="type">


                                                        <span class="param-type"><a
                                                                href="module-ol_Collection-Collection.html">Collection</a>&lt;<a
                                                                href="module-ol_control_Control-Control.html">Control</a>></span>
                                                        |

                                                        <span class="param-type">Array&lt;<a
                                                                href="module-ol_control_Control-Control.html">Control</a>></span>

                                                        | undefined


                                                    </td>

                                                    <td class="description last">
                                                        <p>最初添加到地图的控件。如果未指定，将使用
                                                            <a
                                                                href="module-ol_control_defaults.html#.defaults"><code>defaults</code></a>
                                                            。
                                                        </p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>pixelRatio</code></td>


                                                    <td class="type">


                                                        <span class="param-type">number</span>



                                                        <br>(defaults to window.devicePixelRatio)


                                                    </td>

                                                    <td class="description last">
                                                        <p>设备上物理像素与设备无关像素(dips)之间的比率。</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>interactions</code></td>


                                                    <td class="type">


                                                        <span class="param-type"><a
                                                                href="module-ol_Collection-Collection.html">Collection</a>&lt;<a
                                                                href="module-ol_interaction_Interaction-Interaction.html">Interaction</a>></span>
                                                        |

                                                        <span class="param-type">Array&lt;<a
                                                                href="module-ol_interaction_Interaction-Interaction.html">Interaction</a>></span>

                                                        | undefined


                                                    </td>

                                                    <td class="description last">
                                                        <p>最初添加到地图的交互。如果未指定，将使用
                                                            <a
                                                                href="module-ol_interaction_defaults.html#.defaults"><code>defaults</code></a>
                                                            。
                                                        </p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>keyboardEventTarget</code></td>


                                                    <td class="type">


                                                        <span class="param-type">HTMLElement</span>
                                                        |

                                                        <span class="param-type">Document</span>
                                                        |

                                                        <span class="param-type">string</span>

                                                        | undefined


                                                    </td>

                                                    <td class="description last">
                                                        <p>监听键盘事件的元素。这决定了键盘平移<code>KeyboardPan</code> 和键盘缩放
                                                            <code>KeyboardZoom</code>交互何时触发。例如，如果此选项设置为<code>document</code>，键盘交互将始终触发。如果未指定此选项，库监听键盘事件的元素是地图目标(即用户提供的地图div)。如果这不是
                                                            <code>document</code>,目标元素需要获得焦点才能发出键盘事件，这要求目标元素具有<code>tabindex</code>属性。

                                                        </p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>layers</code></td>


                                                    <td class="type">


                                                        <span class="param-type">Array&lt;<a
                                                                href="module-ol_layer_Base-BaseLayer.html">BaseLayer</a>></span>
                                                        |

                                                        <span class="param-type"><a
                                                                href="module-ol_Collection-Collection.html">Collection</a>&lt;<a
                                                                href="module-ol_layer_Base-BaseLayer.html">BaseLayer</a>></span>
                                                        |

                                                        <span class="param-type"><a
                                                                href="module-ol_layer_Group-LayerGroup.html">LayerGroup</a></span>

                                                        | undefined


                                                    </td>

                                                    <td class="description last">
                                                        <p>图层。如果未定义，将渲染一个没有图层的地图。请注意，图层按照提供的顺序进行渲染，因此如果您希望例如将一个矢量图层显示在瓦片图层之上，则必须将瓦片图层放在其后。
                                                        </p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>maxTilesLoading</code></td>


                                                    <td class="type">


                                                        <span class="param-type">number</span>



                                                        <br>(defaults to 16)


                                                    </td>

                                                    <td class="description last">
                                                        <p>要同时加载的最大瓦片数。</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>moveTolerance</code></td>


                                                    <td class="type">


                                                        <span class="param-type">number</span>



                                                        <br>(defaults to 1)


                                                    </td>

                                                    <td class="description last">
                                                        <p>光标必须移动的最小像素距离才能被检测为地图移动事件而不是单击事件。增加此值可以使在地图上单击更容易。</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>overlays</code></td>


                                                    <td class="type">


                                                        <span class="param-type"><a
                                                                href="module-ol_Collection-Collection.html">Collection</a>&lt;<a
                                                                href="module-ol_Overlay-Overlay.html">Overlay</a>></span>
                                                        |

                                                        <span class="param-type">Array&lt;<a
                                                                href="module-ol_Overlay-Overlay.html">Overlay</a>></span>

                                                        | undefined


                                                    </td>

                                                    <td class="description last">
                                                        <p>最初添加到地图的覆盖层。默认情况下，不添加覆盖层。</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>target</code></td>


                                                    <td class="type">


                                                        <span class="param-type">HTMLElement</span>
                                                        |

                                                        <span class="param-type">string</span>

                                                        | undefined


                                                    </td>

                                                    <td class="description last">
                                                        <p>T地图的容器，可以是元素本身或元素的<code>id</code>。如果在构造时未指定，必须调用<a
                                                                href="module-ol_Map-Map.html#setTarget"><code>setTarget</code></a>
                                                            方法才能渲染地图。如果通过元素传递，容器可以在辅助文档中。<strong>注意:</strong>目标元素的CSS<code>transform</code>支持仅限于<code>scale</code>。
                                                        </p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>view</code></td>


                                                    <td class="type">


                                                        <span class="param-type"><a
                                                                href="module-ol_View-View.html">View</a></span>
                                                        |

                                                        <span class="param-type">Promise&lt;<a
                                                                href="module-ol_View.html#~ViewOptions">ViewOptions</a>></span>

                                                        | undefined


                                                    </td>

                                                    <td class="description last">
                                                        <p>地图的视图。除非在构造时或通过<a
                                                                href="module-ol_Map-Map.html#setView"><code>setView</code></a>.指定，否则不会获取任何图层源。

                                                        </p>

                                                    </td>
                                                </tr>


                                            </tbody>
                                        </table>
                                    </dl>






















                                </dl>



                            </dd>



                            <dt class="">
                                <div class="nameContainer">
                                    <div class="anchor" id="~MapOptionsInternal">
                                    </div>
                                    <h4 class="name">
                                        MapOptionsInternal<span class="type-signature type object">{Object}</span>


                                    </h4>
                                </div>

                            </dt>
                            <dd class="">



                                <dl class="details">


                                    <h5 class="subsection-title">Properties:</h5>

                                    <dl>

                                        <table class="props">
                                            <thead>
                                                <tr>

                                                    <th>Name</th>


                                                    <th>Type</th>

                                                    <th class="last">Description</th>
                                                </tr>
                                            </thead>

                                            <tbody>


                                                <tr>

                                                    <td class="name"><code>controls</code></td>


                                                    <td class="type">


                                                        <span class="param-type"><a
                                                                href="module-ol_Collection-Collection.html">Collection</a>&lt;<a
                                                                href="module-ol_control_Control-Control.html">Control</a>></span>

                                                        | undefined


                                                    </td>

                                                    <td class="description last">
                                                        <p>Controls.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>interactions</code></td>


                                                    <td class="type">


                                                        <span class="param-type"><a
                                                                href="module-ol_Collection-Collection.html">Collection</a>&lt;<a
                                                                href="module-ol_interaction_Interaction-Interaction.html">Interaction</a>></span>

                                                        | undefined


                                                    </td>

                                                    <td class="description last">
                                                        <p>Interactions.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>keyboardEventTarget</code></td>


                                                    <td class="type">


                                                        <span class="param-type">HTMLElement</span>
                                                        |

                                                        <span class="param-type">Document</span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>KeyboardEventTarget.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>overlays</code></td>


                                                    <td class="type">


                                                        <span class="param-type"><a
                                                                href="module-ol_Collection-Collection.html">Collection</a>&lt;<a
                                                                href="module-ol_Overlay-Overlay.html">Overlay</a>></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>Overlays.</p>

                                                    </td>
                                                </tr>



                                                <tr>

                                                    <td class="name"><code>values</code></td>


                                                    <td class="type">


                                                        <span class="param-type">Object.&lt;string, *></span>




                                                    </td>

                                                    <td class="description last">
                                                        <p>Values.</p>

                                                    </td>
                                                </tr>


                                            </tbody>
                                        </table>
                                    </dl>






















                                </dl>



                            </dd>



                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="~PostRenderFunction">
                                    </div>
                                    <h4 class="name">
                                        PostRenderFunction<span class="signature">()</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Map.js">Map.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Map.js#L73">line
                                            73</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">














                                <dl class="details">





















                                </dl>













                            </dd>

                        </dl>



                    </article>

                </section>




            </div>
        </div>
    </div>
    <script>prettyPrint();</script>
    <script src="scripts/linenumber.js"></script>
    <script src="scripts/main.js"></script>
</body>

</html>